package com.xiaoshuidi.cloud.module.report.convert.finance;

import com.xiaoshuidi.cloud.module.report.controller.finance.vo.*;
import com.xiaoshuidi.cloud.module.report.dal.DO.report.*;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 权责收入 转换类
 */
@Mapper
public interface CollectHandleConvert {

    CollectHandleConvert INSTANCE = Mappers.getMapper(CollectHandleConvert.class);


    ReportRentDepositlRespVO convert(ReportRentDepositSummaryDO bean);

    List<ReportRentDepositlRespVO> convertList(List<ReportRentDepositSummaryDO> beanList);

    List<ReportRentDepositExportRespVO> convertDOList2Export(List<ReportRentDepositSummaryDO> beanList);

    ReportReserveRespVO convertReserve(ReportReserveSummaryDO bean);

    List<ReportReserveRespVO> convertReserveList(List<ReportReserveSummaryDO> beanList);

    List<ReportReserveExportRespVO> convertReserveDOList2Export(List<ReportReserveSummaryDO> beanList);

    ReportFeeRespVO convertFee(ReportFeeSummaryDO bean);

    List<ReportFeeRespVO> convertFeeList(List<ReportFeeSummaryDO> beanList);

    List<ReportFeeExportRespVO> convertFeeDOList2Export(List<ReportFeeSummaryDO> beanList);

    ReportCollectionSummaryRespVO convertCollection(ReportCollectionSummaryDO bean);

    List<ReportCollectionSummaryRespVO> convertCollectionList(List<ReportCollectionSummaryDO> beanList);

    List<ReportCollectionSummaryExportRespVO> convertCollectionDOList2Export(List<ReportCollectionSummaryDO> beanList);

    ReportReceivableCheckRespVO convertReceivableCheck(ReportReceivableCheckDO bean);

    List<ReportReceivableCheckRespVO> convertReceivableCheckList(List<ReportReceivableCheckDO> beanList);

    List<ReportReceivableCheckExportRespVO> convertReceivableCheckList2Export(List<ReportReceivableCheckRespVO> beanList);

}
